<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery-3.5.1.js"></script>
    <script src="../js/getUrlParam.js"></script>
    <script src="../js/dateUtil.js"></script>
</head>
<body>
<div class="edit_box"></div>
<script>
    $(document).ready(function () {
        var str = "<form method='post' action='../rotation?method=add' enctype='multipart/form-data\'>";
        str+="<div><label>name</label><input type='text' name='name' value=''></div>";
        str+="<div><label>url</label><input type='file' name='url' value=''></div>";
        str+="<div><label>date</label><input type='datetime' name='date' value=''></div>";
        str+="<div><label>href</label><input type='text' name='href' value=''></div>"
        str+="<div><input type='submit' value='修改'></div>";
        str+="</form>";
        $(".edit_box").append(str);
    })
</script>
</body>
</html>